<form method="post">
  {% csrf_token %}
  <input type="text" name="variable" value="{{ variable }}">
  <input type="submit">
</form>
